home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 5
/
The 640 Meg Shareware Studio CD-ROM Volume V (Data Express)(1994).ISO
/
amiga
/
jmtl028c.lha
/
dmakefile
< prev
next >
Wrap
Makefile
|
1994-03-23
|
2KB
|
56 lines
OD= obj/
JAMTOOL_T= bin/JamTool_T
JAMTOOL_I= bin/JamTool_I
JTPHONE = bin/jtphone
LNFLAGS= SC SD VERBOSE
CFLAGS = -d -ccimqw -O
LIBS=lib:lc.lib lib:amiga.lib lib:debug.lib
# Now, talk about the 'general' source and objects, not the 'special' ones.
SRCS= flolist.c jamtool.c sertype.c lookup.c xferqglue.c \
jtphonebook.c dialresp.c
OBJS= $(SRCS:"*.c":"$(OD)*.o")
normal: $(JAMTOOL_T) $(JAMTOOL_I) $(JTPHONE)
filenote $(JAMTOOL_T) "Traplist.Library Lookup Option"
filenote $(JAMTOOL_I) "Nodelist.Library (Igen) Lookup Option"
cronevent a 0 resident jamtool jamtool:bin/jamtool_t
# The actual output tool name, and all the .o files it should create
# and link to create the tool.
# If ALL the OBJS are relevant to the binary, you can put $(OBJS) rather
# than specifying each object file. Always specify the 'special' .o file
# individually, though!
$(JAMTOOL_T): $(OD)flolist.o $(OD)xferqglue.o $(OD)jamtool.o \
$(OD)sertype.o $(OD)lookup_t.o $(OD)dialresp.o
blink from lib:cres.o %(right) SC SD ND TO %(left) lib $(LIBS)
$(JAMTOOL_I): $(OD)flolist.o $(OD)xferqglue.o $(OD)jamtool.o \
$(OD)sertype.o $(OD)lookup_i.o $(OD)dialresp.o
blink from lib:cres.o %(right) SC SD ND TO %(left) lib $(LIBS)
$(JTPHONE): $(OD)jtphonebook.o $(OD)xferqglue.o
blink from lib:c.o %(right) SC SD ND TO %(left) lib $(LIBS)
# You're special .o files, and the specific .c file that needs to be
# refered to.
$(OD)lookup_t.o : lookup.c
lc $(CFLAGS) -dTRAPLIST -o%(left) %(right)
$(OD)lookup_i.o : lookup.c
lc $(CFLAGS) -dIGEN -o%(left) %(right)
# This will be used for any .o file that isn't already mentioned as being
# one of the 'special' .o files above
$(OBJS) : $(SRCS)
lc $(CFLAGS) -o%(left) %(right)
clean :
-delete $(OD)#?
-delete $(JAMTOOL_T) $(JAMTOOL_I) $(JTPHONE)